package com.huike.service.impl;

import com.huike.common.exception.CustomException;
import com.huike.domain.business.TbBusiness;
import com.huike.domain.business.TbBusinessTrackRecord;
import com.huike.domain.system.SysUser;
import com.huike.mapper.TbBusinessMapper;
import com.huike.mapper.TbBusinessTrackRecordMapper;
import com.huike.service.ITbBusinessService;
import com.huike.domain.clues.TbAssignRecord;
import com.huike.domain.clues.TbClue;
import com.huike.domain.clues.TbRulePool;
import com.huike.mapper.SysDictDataMapper;
import com.huike.mapper.SysUserMapper;
import com.huike.mapper.TbAssignRecordMapper;
import com.huike.mapper.TbClueMapper;
import com.huike.service.ITbClueService;
import com.huike.service.ITbRulePoolService;
import com.huike.common.annotation.DataScope;
import com.huike.common.constant.Constants;
import com.huike.utils.DateUtils;
import com.huike.utils.HuiKeCrmDateUtils;
import com.huike.utils.JobUtils;
import com.huike.web.CurrentUserHolder;
import com.huike.strategy.business.Rule;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.Date;
import java.util.List;

/**
 * 商机Service业务层处理
 *
 * @date 2021-04-25
 */
@Service
public class TbBusinessServiceImpl implements ITbBusinessService {

    @Autowired
    private Rule rule;

    @Autowired
    private TbBusinessMapper tbBusinessMapper;

    @Autowired
    private TbAssignRecordMapper tbAssignRecordMapper;

    @Autowired
    private TbBusinessTrackRecordMapper tbBusinessTrackRecordMapper;

    @Autowired
    private SysUserMapper userMapper;

    @Autowired
    ITbRulePoolService rulePoolService;

    @Autowired
    TbClueMapper tbClueMapper;

    @Autowired
    private ITbClueService tbClueService;

    @Autowired
    TbAssignRecordMapper assignRecordMapper;

    @Autowired
    private SysDictDataMapper dictDataMapper;


}
